import { Component, ChangeDetectionStrategy, OnInit, OnDestroy, Input, ChangeDetectorRef, NgZone } from '@angular/core';
import { ProductViewComponent } from '../../product-view/product-view.component';
import { Subscription } from 'rxjs';

/**
 * 基本资料
 */
@Component({
  selector: 'product-basicinfo',
  templateUrl: './product-basicInfo.component.html',
  styleUrls: ['./product-basicInfo.component.less'],
  host: {},
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ProductBasicInfoComponent implements OnInit, OnDestroy {
  @Input()
  product = null;
  @Input()
  extra = null;
  @Input()
  price = null;

  styles = {
    'margin-bottom': '12px',
    border: 'none',
  };
  constructor(private cdr: ChangeDetectorRef, private p: ProductViewComponent, private ngZone: NgZone) {}

  ngOnInit(): void {}

  ngOnDestroy(): void {}
}
